package com.wq.myspring.factory;

/**
 * @PackageName: com.wq.myspring.factorytest
 * @ClassName Foo
 * @Description: TODO
 * @Author Wenqiang
 * @Date 2021/07/17 4:44
 * @Version V1.0
 */
public class Foo {

	private String id;
	private String name;

	public Foo() {
	}

	public Foo(String id, String name) {
		this.id = id;
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "[" +hashCode()+ "] Foo{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				'}';
	}
}
